package com.zm.campus.dao;

import com.zm.campus.pojo.Trade;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zm.campus.query.TradeQuery;
import com.zm.campus.vo.DealingReturnVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zm
 */
public interface TradeMapper extends BaseMapper<Trade> {

    //获取当前用户的进行中的订单
    List<DealingReturnVo> queryAllReplaceDo(TradeQuery tradeQuery);

    Trade selectByRdId(String rdId);
}
